package com.bysj.yqsht.service;

import com.bysj.yqsht.bean.Activity;
import com.bysj.yqsht.bean.extend.ActivityExtend;

import java.util.List;

public interface IActivityService {
    List<Activity> findAll();
    List<ActivityExtend> findWithAll(int pageNum,int limit);
    List<ActivityExtend> findWithAllBy(String name ,String classId);

    void deleteById(long id);
    void saveOrUpdate(Activity activity);
}
